﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace QQSDK
{
	public class AttributionSample : SDKBaseSample
	{
		public void SetupAnalyticsWithAppId()
		{

			
		}
		
	
	
		public void InitAttribution()
		{
			SDKFunc.Log("InitAttribution:");
			AttributionManager.InitAttribution();
		}
		public void LogAppFlyerEvent()
		{
			SDKFunc.Log("LogAppFlyerEvent:");
			AttributionManager.LogAppFlyerEvent("af_event1");
		}
		public void LogAppFlyerRevenue()
		{
			SDKFunc.Log("LogAppFlyerRevenue:");
			AttributionManager.LogAppFlyerRevenue("afrev","test",1.0,"RMB");
		}

		public void LogAppFlyerRevenue2()
		{
			SDKFunc.Log("LogAppFlyerRevenue:");
			AttributionManager.LogAppFlyerRevenue("afrev", "test","1234567",true, 1.0, "RMB");
		}
		// 新版本热云废弃，代码屏蔽
		//public void LogReYunEvent()
		//{
		//	SDKFunc.Log("LogReYunEvent:");
		//	AttributionManager.LogReYunEvent("event_1");
		//}
		//public void LogReYunRevenueEvent()
		//{
		//	SDKFunc.Log("LogReYunRevenueEvent:");
		//	AttributionManager.LogReYunRevenueEvent("1023123131233232",1.0,"USD", "GooglePlay");
		//}
		//public void LogToTBKeyAction()
		//{
		//	SDKFunc.Log("LogToTBKeyAction:");
		//	AttributionManager.LogToTBKeyAction("event_1");
		//}

	}

}